home *** CD-ROM | disk | FTP | other *** search
- on GetFileNames
- end
-
- on deletecast
- set TheList to [32, 127, 78, 45, 63, 184, 115, 152, 148, 132, 99, 14, 140, 102, 149]
- set times to count(TheList)
- repeat with j = 327 to 934
- set xx to the name of cast j
- if (the castType of cast j <> "#palette") and (xx <> 0) then
- set result to 0
- repeat with i = 1 to times
- set zz to getAt(TheList, i)
- set the itemDelimiter to "-"
- if item 1 of xx = zz then
- set result to 1
- exit repeat
- end if
- set the itemDelimiter to "."
- if item 1 of xx = zz then
- set result to 1
- exit repeat
- end if
- set the itemDelimiter to ","
- end repeat
- if result = 0 then
- put "erase cast" & j
- erase(cast j)
- end if
- end if
- end repeat
- end
-